package ch4;

public class Example4_14 {
    public static void main(String[] args) {
        Example4_14 boshi = new Example4_14("布什");
    }
    int leg,hand;
    String name;
    Example4_14(String s) {
        name = s;
        this.init();
    }
    void init() {
        leg = 2;
        hand = 2;
        System.out.println(name+"有"+hand+"只手"+leg+"条腿");
    }
}
